package com.ihg.hiex.entity.session.during;

import java.beans.Transient;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.apache.commons.lang3.StringUtils;

/**
 * 
 * @author dan
 *
 */
@Entity
@Table(name = "session_calibration_comment")
public class SessionCalibrationComment {
    
    @Id
    @GeneratedValue
    private Long id;
    
    /** Strength 1 */
    @Enumerated(EnumType.STRING)
    private SessionCompetencyType strengthOne;
    
    /** Strength 1 anchor */
    private String strengthOneTitle;
    
    private String strengthOneOther;
    
    /** Strength 1 comment */
    private String strengthOneComment;
    
    /** Strength 2 */
    @Enumerated(EnumType.STRING)
    private SessionCompetencyType strengthTwo;
    
    /** Strength 2 anchor */
    private String strengthTwoTitle;
    
    private String strengthTwoOther;
    
    /** Strength 2 comment */
    private String strengthTwoComment;
    
    /** Strength 3 */
    @Enumerated(EnumType.STRING)
    private SessionCompetencyType strengthThree;
    
    /** Strength 3 anchor */
    private String strengthThreeTitle;
    
    private String strengthThreeOther;
    
    /** Strength 3 comment */
    private String strengthThreeComment;
    
    /** Development Need  1 */
    @Enumerated(EnumType.STRING)
    private SessionCompetencyType dnOne;
    
    /** Development Need 1 anchor */
    private String dnOneTitle;
    
    private String dnOneOther;
    
    /** Development Need  1 comment */
    private String dnOneComment;
    
    /** Development Need  2 */
    @Enumerated(EnumType.STRING)
    private SessionCompetencyType dnTwo;
    
    /** Development Need 2 anchor */
    private String dnTwoTitle;
    
    private String dnTwoOther;
    
    /** Development Need  2 comment */
    private String dnTwoComment;
    
    /** Development Need  3 */
    @Enumerated(EnumType.STRING)
    private SessionCompetencyType dnThree;
    
    /** Development Need 3 anchor */
    private String dnThreeTitle;
    
    private String dnThreeOther;
    
    /** Development Need  3 comment */
    private String dnThreeComment;
    
    /** Suggest Development  1 */
    @Enumerated(EnumType.STRING)
    private SessionCompetencyType suggestOne;
    
    private String suggestOneTitle;
    
    /** Suggest Development 1 comment */
    private String suggestOneComment;
    
    /** Suggest Development 2 */
    @Enumerated(EnumType.STRING)
    private SessionCompetencyType suggestTwo;
    
    private String suggestTwoTitle;
    
    /** Suggest Development 2 comment */
    private String suggestTwoComment;
    
    /** Suggest Development 3 */
    @Enumerated(EnumType.STRING)
    private SessionCompetencyType suggestThree;
    
    private String suggestThreeTitle;
    
    /** Suggest Development 3 comment */
    private String suggestThreeComment;
    
    @ManyToOne(fetch = FetchType.LAZY, optional = false)
    private SessionCalibration sessionCalibration;
    
    /** 状态 */
    @Enumerated(EnumType.STRING)
    private SessionCalibrationStatus status;
    
    @Column(name = "is_disabled")
    private boolean disabled;
    
    /**
     * The default constructor
     */
    public SessionCalibrationComment() {
        
    }
    
    /**
     * 
     * @param sessionCalibration
     */
    public SessionCalibrationComment(SessionCalibration sessionCalibration) {
        this.sessionCalibration = sessionCalibration;
        this.status = SessionCalibrationStatus.EDITING;
        this.disabled = false;
    }
    
    /**
     * 
     * @param chooses
     * @param chooseComments
     * @return
     */
    public SessionCalibrationComment edit(List<String> chooses, List<String> chooseComments) {
        
        this.status = SessionCalibrationStatus.FINISH;
        if(StringUtils.equalsIgnoreCase("strengthOne", chooses.get(0))) {
            this.suggestOne = strengthOne;
            this.suggestOneTitle = strengthOneTitle;
            this.suggestOneComment = chooseComments.get(0);
        } else if (StringUtils.equalsIgnoreCase("strengthTwo", chooses.get(0))) {
            this.suggestOne = strengthTwo;
            this.suggestOneTitle = strengthTwoTitle;
            this.suggestOneComment = chooseComments.get(1);
        } else if (StringUtils.equalsIgnoreCase("strengthThree", chooses.get(0))) {
            this.suggestOne = strengthThree;
            this.suggestOneTitle = strengthThreeTitle;
            this.suggestOneComment = chooseComments.get(2);
        } else if (StringUtils.equalsIgnoreCase("dnOne", chooses.get(0))) {
            this.suggestOne = dnOne;
            this.suggestOneTitle = dnOneTitle;
            this.suggestOneComment = chooseComments.get(3);
        } else if (StringUtils.equalsIgnoreCase("dnTwo", chooses.get(0))) {
            this.suggestOne = dnTwo;
            this.suggestOneTitle = dnTwoTitle;
            this.suggestOneComment = chooseComments.get(4);
        } else if (StringUtils.equalsIgnoreCase("dnThree", chooses.get(0))) {
            this.suggestOne = dnThree;
            this.suggestOneTitle = dnThreeTitle;
            this.suggestOneComment = chooseComments.get(5);
        }
        
        if(StringUtils.equalsIgnoreCase("strengthOne", chooses.get(1))) {
            this.suggestTwo = strengthOne;
            this.suggestTwoTitle = strengthOneTitle;
            this.suggestTwoComment = chooseComments.get(0);
        } else if (StringUtils.equalsIgnoreCase("strengthTwo", chooses.get(1))) {
            this.suggestTwo = strengthTwo;
            this.suggestTwoTitle = strengthTwoTitle;
            this.suggestTwoComment = chooseComments.get(1);
        } else if (StringUtils.equalsIgnoreCase("strengthThree", chooses.get(1))) {
            this.suggestTwo = strengthThree;
            this.suggestTwoTitle = strengthThreeTitle;
            this.suggestTwoComment = chooseComments.get(2);
        } else if (StringUtils.equalsIgnoreCase("dnOne", chooses.get(1))) {
            this.suggestTwo = dnOne;
            this.suggestTwoTitle = dnOneTitle;
            this.suggestTwoComment = chooseComments.get(3);
        } else if (StringUtils.equalsIgnoreCase("dnTwo", chooses.get(1))) {
            this.suggestTwo = dnTwo;
            this.suggestTwoTitle = dnTwoTitle;
            this.suggestTwoComment = chooseComments.get(4);
        } else if (StringUtils.equalsIgnoreCase("dnThree", chooses.get(1))) {
            this.suggestTwo = dnThree;
            this.suggestTwoTitle = dnThreeTitle;
            this.suggestTwoComment = chooseComments.get(5);
        }
        
        if(StringUtils.equalsIgnoreCase("strengthOne", chooses.get(2))) {
            this.suggestThree = strengthOne;
            this.suggestThreeTitle = strengthOneTitle;
            this.suggestThreeComment = chooseComments.get(0);
        } else if (StringUtils.equalsIgnoreCase("strengthTwo", chooses.get(2))) {
            this.suggestThree = strengthTwo;
            this.suggestThreeTitle = strengthTwoTitle;
            this.suggestThreeComment = chooseComments.get(1);
        } else if (StringUtils.equalsIgnoreCase("strengthThree", chooses.get(2))) {
            this.suggestThree = strengthThree;
            this.suggestThreeTitle = strengthThreeTitle;
            this.suggestThreeComment = chooseComments.get(2);
        } else if (StringUtils.equalsIgnoreCase("dnOne", chooses.get(2))) {
            this.suggestThree = dnOne;
            this.suggestThreeTitle = dnOneTitle;
            this.suggestThreeComment = chooseComments.get(3);
        } else if (StringUtils.equalsIgnoreCase("dnTwo", chooses.get(2))) {
            this.suggestThree = dnTwo;
            this.suggestThreeTitle = dnTwoTitle;
            this.suggestThreeComment = chooseComments.get(4);
        } else if (StringUtils.equalsIgnoreCase("dnThree", chooses.get(2))) {
            this.suggestThree = dnThree;
            this.suggestThreeTitle = dnThreeTitle;
            this.suggestThreeComment = chooseComments.get(5);
        }
        
        return this;
    }
    
    /**
     * 
     * @return
     */
    @Transient
    public String[] getStrengthOneTitles() {
        return StringUtils.split(this.strengthOneTitle, ",");
    }
    
    /**
     * 
     * @return
     */
    @Transient
    public String[] getStrengthTwoTitles() {
        return StringUtils.split(this.strengthTwoTitle, ",");
    }
    
    /**
     * 
     * @return
     */
    @Transient
    public String[] getStrengthThreeTitles() {
        return StringUtils.split(this.strengthThreeTitle, ",");
    }
    
    /**
     * 
     * @return
     */
    @Transient
    public String[] getDnOneTitles() {
        return StringUtils.split(this.dnOneTitle, ",");
    }
    
    /**
     * 
     * @return
     */
    @Transient
    public String[] getDnTwoTitles() {
        return StringUtils.split(this.dnTwoTitle, ",");
    }
    
    /**
     * 
     * @return
     */
    @Transient
    public String[] getDnThreeTitles() {
        return StringUtils.split(this.dnThreeTitle, ",");
    }
    
    /**
     * 
     * @return
     */
    public Map<String, String> getSelectedSuggests() {
        
        Map<String, String> result = new HashMap<String, String>();
        
        if(this.suggestOne != null && this.suggestOne.equals(this.strengthOne) && StringUtils.equalsIgnoreCase(this.suggestOneTitle, this.strengthOneTitle)) {
            result.put("strengthOne", this.suggestOneComment);
        } else if (this.suggestOne != null &&  this.suggestOne.equals(this.strengthTwo) && StringUtils.equalsIgnoreCase(this.suggestOneTitle, this.strengthTwoTitle)) {
            result.put("strengthTwo", this.suggestOneComment);
        } else if ( this.suggestOne != null && this.suggestOne.equals(this.strengthThree) && StringUtils.equalsIgnoreCase(this.suggestOneTitle ,this.strengthThreeTitle)) {
            result.put("strengthThree", this.suggestOneComment);
        } else if (this.suggestOne != null && this.suggestOne.equals(this.dnOne) && StringUtils.equalsIgnoreCase(this.suggestOneTitle, this.dnOneTitle)) {
            result.put("dnOne", this.suggestOneComment);
        } else if (this.suggestOne != null && this.suggestOne.equals(this.dnTwo) && StringUtils.equalsIgnoreCase(this.suggestOneTitle, this.dnTwoTitle)) {
            result.put("dnTwo", this.suggestOneComment);
        } else if (this.suggestOne != null && this.suggestOne.equals(this.dnThree) && StringUtils.equalsIgnoreCase(this.suggestOneTitle, this.dnThreeTitle)) {
            result.put("dnThree", this.suggestOneComment);
        }
        
        if(this.suggestTwo != null && this.suggestTwo.equals(this.strengthOne) && StringUtils.equalsIgnoreCase(this.suggestTwoTitle, this.strengthOneTitle)) {
            result.put("strengthOne", this.suggestTwoComment);
        } else if (this.suggestTwo != null && this.suggestTwo.equals(this.strengthTwo) && StringUtils.equalsIgnoreCase(this.suggestTwoTitle, this.strengthTwoTitle)) {
            result.put("strengthTwo", this.suggestTwoComment);
        } else if (this.suggestTwo != null && this.suggestTwo.equals(this.strengthThree) && StringUtils.equalsIgnoreCase(this.suggestTwoTitle, this.strengthThreeTitle)) {
            result.put("strengthThree", this.suggestTwoComment);
        } else if (this.suggestTwo != null && this.suggestTwo.equals(this.dnOne) && StringUtils.equalsIgnoreCase(this.suggestTwoTitle, this.dnOneTitle)) {
            result.put("dnOne", this.suggestTwoComment);
        } else if (this.suggestTwo != null && this.suggestTwo.equals(this.dnTwo) && StringUtils.equalsIgnoreCase(this.suggestTwoTitle, this.dnTwoTitle)) {
            result.put("dnTwo", this.suggestTwoComment);
        } else if (this.suggestTwo != null && this.suggestTwo.equals(this.dnThree) && StringUtils.equalsIgnoreCase(this.suggestTwoTitle, this.dnThreeTitle)) {
            result.put("dnThree", this.suggestTwoComment);
        }
        
        if(this.suggestThree != null && this.suggestThree.equals(this.strengthOne) && StringUtils.equalsIgnoreCase(this.suggestThreeTitle, this.strengthOneTitle)) {
            result.put("strengthOne", this.suggestThreeComment);
        } else if (this.suggestThree != null && this.suggestThree.equals(this.strengthTwo) && StringUtils.equalsIgnoreCase(this.suggestThreeTitle, this.strengthTwoTitle)) {
            result.put("strengthTwo", this.suggestThreeComment);
        } else if (this.suggestThree != null && this.suggestThree.equals(this.strengthThree) && StringUtils.equalsIgnoreCase(this.suggestThreeTitle, this.strengthThreeTitle)) {
            result.put("strengthThree", this.suggestThreeComment);
        } else if (this.suggestThree != null && this.suggestThree.equals(this.dnOne) && StringUtils.equalsIgnoreCase(this.suggestThreeTitle, this.dnOneTitle)) {
            result.put("dnOne", this.suggestThreeComment);
        } else if (this.suggestThree != null && this.suggestThree.equals(this.dnTwo) && StringUtils.equalsIgnoreCase(this.suggestThreeTitle, this.dnTwoTitle)) {
            result.put("dnTwo", this.suggestThreeComment);
        } else if (this.suggestThree != null && this.suggestThree.equals(this.dnThree) && StringUtils.equalsIgnoreCase(this.suggestThreeTitle, this.dnThreeTitle)) {
            result.put("dnThree", this.suggestThreeComment);
        }
        return result;
    }
    

    /**
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * @return the strengthOne
     */
    public SessionCompetencyType getStrengthOne() {
        return strengthOne;
    }

    /**
     * @return the strengthOneTitle
     */
    public String getStrengthOneTitle() {
        return strengthOneTitle;
    }

    /**
     * @return the strengthOneOther
     */
    public String getStrengthOneOther() {
        return strengthOneOther;
    }

    /**
     * @return the strengthOneComment
     */
    public String getStrengthOneComment() {
        return strengthOneComment;
    }

    /**
     * @return the strengthTwo
     */
    public SessionCompetencyType getStrengthTwo() {
        return strengthTwo;
    }

    /**
     * @return the strengthTwoTitle
     */
    public String getStrengthTwoTitle() {
        return strengthTwoTitle;
    }

    /**
     * @return the strengthTwoOther
     */
    public String getStrengthTwoOther() {
        return strengthTwoOther;
    }

    /**
     * @return the strengthTwoComment
     */
    public String getStrengthTwoComment() {
        return strengthTwoComment;
    }

    /**
     * @return the strengthThree
     */
    public SessionCompetencyType getStrengthThree() {
        return strengthThree;
    }

    /**
     * @return the strengthThreeTitle
     */
    public String getStrengthThreeTitle() {
        return strengthThreeTitle;
    }

    /**
     * @return the strengthThreeOther
     */
    public String getStrengthThreeOther() {
        return strengthThreeOther;
    }

    /**
     * @return the strengthThreeComment
     */
    public String getStrengthThreeComment() {
        return strengthThreeComment;
    }

    /**
     * @return the dnOne
     */
    public SessionCompetencyType getDnOne() {
        return dnOne;
    }

    /**
     * @return the dnOneTitle
     */
    public String getDnOneTitle() {
        return dnOneTitle;
    }

    /**
     * @return the dnOneOther
     */
    public String getDnOneOther() {
        return dnOneOther;
    }

    /**
     * @return the dnOneComment
     */
    public String getDnOneComment() {
        return dnOneComment;
    }

    /**
     * @return the dnTwo
     */
    public SessionCompetencyType getDnTwo() {
        return dnTwo;
    }

    /**
     * @return the dnTwoTitle
     */
    public String getDnTwoTitle() {
        return dnTwoTitle;
    }

    /**
     * @return the dnTwoOther
     */
    public String getDnTwoOther() {
        return dnTwoOther;
    }

    /**
     * @return the dnTwoComment
     */
    public String getDnTwoComment() {
        return dnTwoComment;
    }

    /**
     * @return the dnThree
     */
    public SessionCompetencyType getDnThree() {
        return dnThree;
    }

    /**
     * @return the dnThreeTitle
     */
    public String getDnThreeTitle() {
        return dnThreeTitle;
    }

    /**
     * @return the dnThreeOther
     */
    public String getDnThreeOther() {
        return dnThreeOther;
    }

    /**
     * @return the dnThreeComment
     */
    public String getDnThreeComment() {
        return dnThreeComment;
    }

    /**
     * @return the suggestOne
     */
    public SessionCompetencyType getSuggestOne() {
        return suggestOne;
    }

    /**
     * @return the suggestOneTitle
     */
    public String getSuggestOneTitle() {
        return suggestOneTitle;
    }

    /**
     * @return the suggestOneComment
     */
    public String getSuggestOneComment() {
        return suggestOneComment;
    }

    /**
     * @return the suggestTwo
     */
    public SessionCompetencyType getSuggestTwo() {
        return suggestTwo;
    }

    /**
     * @return the suggestTwoTitle
     */
    public String getSuggestTwoTitle() {
        return suggestTwoTitle;
    }

    /**
     * @return the suggestTwoComment
     */
    public String getSuggestTwoComment() {
        return suggestTwoComment;
    }

    /**
     * @return the suggestThree
     */
    public SessionCompetencyType getSuggestThree() {
        return suggestThree;
    }

    /**
     * @return the suggestThreeTitle
     */
    public String getSuggestThreeTitle() {
        return suggestThreeTitle;
    }

    /**
     * @return the suggestThreeComment
     */
    public String getSuggestThreeComment() {
        return suggestThreeComment;
    }

    /**
     * @return the sessionCalibration
     */
    public SessionCalibration getSessionCalibration() {
        return sessionCalibration;
    }

    /**
     * @return the status
     */
    public SessionCalibrationStatus getStatus() {
        return status;
    }

    /**
     * @return the disabled
     */
    public boolean isDisabled() {
        return disabled;
    }

    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @param strengthOne the strengthOne to set
     */
    public void setStrengthOne(SessionCompetencyType strengthOne) {
        this.strengthOne = strengthOne;
    }

    /**
     * @param strengthOneTitle the strengthOneTitle to set
     */
    public void setStrengthOneTitle(String strengthOneTitle) {
        this.strengthOneTitle = strengthOneTitle;
    }

    /**
     * @param strengthOneOther the strengthOneOther to set
     */
    public void setStrengthOneOther(String strengthOneOther) {
        this.strengthOneOther = strengthOneOther;
    }

    /**
     * @param strengthOneComment the strengthOneComment to set
     */
    public void setStrengthOneComment(String strengthOneComment) {
        this.strengthOneComment = strengthOneComment;
    }

    /**
     * @param strengthTwo the strengthTwo to set
     */
    public void setStrengthTwo(SessionCompetencyType strengthTwo) {
        this.strengthTwo = strengthTwo;
    }

    /**
     * @param strengthTwoTitle the strengthTwoTitle to set
     */
    public void setStrengthTwoTitle(String strengthTwoTitle) {
        this.strengthTwoTitle = strengthTwoTitle;
    }

    /**
     * @param strengthTwoOther the strengthTwoOther to set
     */
    public void setStrengthTwoOther(String strengthTwoOther) {
        this.strengthTwoOther = strengthTwoOther;
    }

    /**
     * @param strengthTwoComment the strengthTwoComment to set
     */
    public void setStrengthTwoComment(String strengthTwoComment) {
        this.strengthTwoComment = strengthTwoComment;
    }

    /**
     * @param strengthThree the strengthThree to set
     */
    public void setStrengthThree(SessionCompetencyType strengthThree) {
        this.strengthThree = strengthThree;
    }

    /**
     * @param strengthThreeTitle the strengthThreeTitle to set
     */
    public void setStrengthThreeTitle(String strengthThreeTitle) {
        this.strengthThreeTitle = strengthThreeTitle;
    }

    /**
     * @param strengthThreeOther the strengthThreeOther to set
     */
    public void setStrengthThreeOther(String strengthThreeOther) {
        this.strengthThreeOther = strengthThreeOther;
    }

    /**
     * @param strengthThreeComment the strengthThreeComment to set
     */
    public void setStrengthThreeComment(String strengthThreeComment) {
        this.strengthThreeComment = strengthThreeComment;
    }

    /**
     * @param dnOne the dnOne to set
     */
    public void setDnOne(SessionCompetencyType dnOne) {
        this.dnOne = dnOne;
    }

    /**
     * @param dnOneTitle the dnOneTitle to set
     */
    public void setDnOneTitle(String dnOneTitle) {
        this.dnOneTitle = dnOneTitle;
    }

    /**
     * @param dnOneOther the dnOneOther to set
     */
    public void setDnOneOther(String dnOneOther) {
        this.dnOneOther = dnOneOther;
    }

    /**
     * @param dnOneComment the dnOneComment to set
     */
    public void setDnOneComment(String dnOneComment) {
        this.dnOneComment = dnOneComment;
    }

    /**
     * @param dnTwo the dnTwo to set
     */
    public void setDnTwo(SessionCompetencyType dnTwo) {
        this.dnTwo = dnTwo;
    }

    /**
     * @param dnTwoTitle the dnTwoTitle to set
     */
    public void setDnTwoTitle(String dnTwoTitle) {
        this.dnTwoTitle = dnTwoTitle;
    }

    /**
     * @param dnTwoOther the dnTwoOther to set
     */
    public void setDnTwoOther(String dnTwoOther) {
        this.dnTwoOther = dnTwoOther;
    }

    /**
     * @param dnTwoComment the dnTwoComment to set
     */
    public void setDnTwoComment(String dnTwoComment) {
        this.dnTwoComment = dnTwoComment;
    }

    /**
     * @param dnThree the dnThree to set
     */
    public void setDnThree(SessionCompetencyType dnThree) {
        this.dnThree = dnThree;
    }

    /**
     * @param dnThreeTitle the dnThreeTitle to set
     */
    public void setDnThreeTitle(String dnThreeTitle) {
        this.dnThreeTitle = dnThreeTitle;
    }

    /**
     * @param dnThreeOther the dnThreeOther to set
     */
    public void setDnThreeOther(String dnThreeOther) {
        this.dnThreeOther = dnThreeOther;
    }

    /**
     * @param dnThreeComment the dnThreeComment to set
     */
    public void setDnThreeComment(String dnThreeComment) {
        this.dnThreeComment = dnThreeComment;
    }

    /**
     * @param suggestOne the suggestOne to set
     */
    public void setSuggestOne(SessionCompetencyType suggestOne) {
        this.suggestOne = suggestOne;
    }

    /**
     * @param suggestOneTitle the suggestOneTitle to set
     */
    public void setSuggestOneTitle(String suggestOneTitle) {
        this.suggestOneTitle = suggestOneTitle;
    }

    /**
     * @param suggestOneComment the suggestOneComment to set
     */
    public void setSuggestOneComment(String suggestOneComment) {
        this.suggestOneComment = suggestOneComment;
    }

    /**
     * @param suggestTwo the suggestTwo to set
     */
    public void setSuggestTwo(SessionCompetencyType suggestTwo) {
        this.suggestTwo = suggestTwo;
    }

    /**
     * @param suggestTwoTitle the suggestTwoTitle to set
     */
    public void setSuggestTwoTitle(String suggestTwoTitle) {
        this.suggestTwoTitle = suggestTwoTitle;
    }

    /**
     * @param suggestTwoComment the suggestTwoComment to set
     */
    public void setSuggestTwoComment(String suggestTwoComment) {
        this.suggestTwoComment = suggestTwoComment;
    }

    /**
     * @param suggestThree the suggestThree to set
     */
    public void setSuggestThree(SessionCompetencyType suggestThree) {
        this.suggestThree = suggestThree;
    }

    /**
     * @param suggestThreeTitle the suggestThreeTitle to set
     */
    public void setSuggestThreeTitle(String suggestThreeTitle) {
        this.suggestThreeTitle = suggestThreeTitle;
    }

    /**
     * @param suggestThreeComment the suggestThreeComment to set
     */
    public void setSuggestThreeComment(String suggestThreeComment) {
        this.suggestThreeComment = suggestThreeComment;
    }

    /**
     * @param sessionCalibration the sessionCalibration to set
     */
    public void setSessionCalibration(SessionCalibration sessionCalibration) {
        this.sessionCalibration = sessionCalibration;
    }

    /**
     * @param status the status to set
     */
    public void setStatus(SessionCalibrationStatus status) {
        this.status = status;
    }

    /**
     * @param disabled the disabled to set
     */
    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

}
